package com.ruoyi.expo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 展会轮播对象 ex_carousel
 * 
 * @author code_yong
 * @date 2023-09-20
 */
public class ExCarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播编号 */
    private Long id;

    /** 轮播标题 */
    @Excel(name = "轮播标题")
    private String title;

    /** 轮播图片 */
    @Excel(name = "轮播图片")
    private String image;

    /** 轮播顺序 */
    @Excel(name = "轮播顺序")
    private Long sort;

    /** 状态（1正常0禁用） */
    @Excel(name = "状态", readConverterExp = "1=正常0禁用")
    private String status;

    /** 外链 */
    @Excel(name = "外链")
    private String link;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("image", getImage())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("link", getLink())
            .toString();
    }
}
